Auto merge of #3785 - joshtriplett:insulate-tests-from-user-env, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 2 Mar 2017 02:10:56 +0000 (02:10 +0000)
committerbors <bors@rust-lang.org>
Thu, 2 Mar 2017 02:10:56 +0000 (02:10 +0000)
commit1ebadba8d070a4ce3b1359f322d9b74ab22297e2
tree02e1295f38081e1207aa25fc0d8093924e63ee48
parentbdce1f5d8aae833cf70586477c78f97607a675a4
parent0a4214c68be8d6ca02fd68e5ebfe091b80fed248
Auto merge of #3785 - joshtriplett:insulate-tests-from-user-env, r=alexcrichton

tests: Insulate from user git environment

Several tests in "cargo test" would fail if the user had any of the Git
environment variables set for name or email address, because those
environment variables would override the tested configuration.  Filter
out those environment variables.